{include file = "styles/header.tpl"}
{literal}
<style type="text/css">
ul.admin_func li.choose label{
	color:#FF0000;
}
</style>
{/literal}
<script type="text/javascript" src="js/user/func.js"></script>
<div id="content" class="box">
	<h1>{$translate->_('user_changepwd_admin_header')}</h1>
	
	<form id="form" name="form" action="{$pageRootUrl}/func/{$intId}" method="post">
	<fieldset>
		<legend>{$translate->_('user_info')}</legend>
		<table class="nostyle">
			<tr>
				<td class="first" width="172"><strong>{$translate->_('common_username')} :</strong></td>
				<td class="last">
					<strong>{$arrResult.username}</strong>
				</td>
			</tr>
			<tr class="bg">
				<td class="first"><strong>{$translate->_('common_pwd')} :</strong></td>
				<td class="last">
					<strong>xxxxxxxxxx</strong>
				</td>
			</tr>
			<tr>
				<td class="first"><strong>{$translate->_('user_group')} :</strong></td>
				<td class="last"><strong>{$arrResult.group_name}</strong></td>
			</tr>
		</table>
	</fieldset>
	
		<table class="nostyle">
			<tr>
				<td class="last">
				<ul class="admin_func">
				{section name=i loop=$arrFunc}
					{if $arrFunc[i].new_group==1}
					</ul><ul class="admin_func">
					{/if}
					<li id="li_{$arrFunc[i].id}">
						<input type="checkbox" id="func_{$arrFunc[i].id}" name="admin_func[]" value="{$arrFunc[i].id}" onChange="doCheckFunc(this);"/>
						<label for="func_{$arrFunc[i].id}">&nbsp;{$arrFunc[i].desc}</label>
					</li>
				{/section}	
				</ul>
				</td>
			</tr>
		</table>

	<div align="center">
		<input id="button1" type="submit" value="{$translate->_('common_bt_update')}" class="bt"/> 
		<input id="button2" type="reset" value="{$translate->_('common_bt_reset')}" class="bt" />
		<input name="user_id"  type="hidden" value="{$intId}"/>
		<input name="strAdminFunc" id="strAdminFunc" type="hidden" value="{$strAdminFunc}"/>
	</div>
  </form>
</div>
{include file = "styles/footer.tpl"}